<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/wslds-tags" prefix="lds"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="${ contextPath }/web/review${ min }.js" type="text/javascript"></script>
	
	<div class="review_page" >
		<c:forEach  var="i" begin="1" end="${adapter.maxPage}" >
			<c:choose>
				<c:when test="${ i eq adapter.curPage }">
					<span class="curPage">
						${ i }
					</span>
				</c:when>
				<c:when test="${ i ne adapter.curPage }">
					<span class="canclick">
						<a rel="nofollow" href="javascript:;" onclick="javascript:WSLDS.Method.reviewPage('listReview.action?page=${ i }&${ queryString }')">${ i }</a>
					</span>
				</c:when>
			</c:choose>	
		</c:forEach>
		
	</div>
	<div class="clear" ></div>
	<c:forEach items="${adapter.data}" var="review"  >
		<div class="review_block" >
			<div class="review_body" >
				<c:choose>
					<c:when test="${ ! empty review.webSite }">
						<img class="img"  src="${ review.webSite }/favicon.ico"  onerror="this.src='${ contextPath }/skin/light_blue/images/icon/user.png'"   />
					</c:when>
					<c:otherwise>
						<img class="img"  src="${ contextPath }/skin/light_blue/images/icon/user.png"  />
					</c:otherwise>
	   			</c:choose>
				<div class="review_head">
					<c:choose>
						<c:when test="${ ! empty review.webSite }">
							<span class="name" >
								<a rel="nofollow" href="<c:out value="${ review.webSite }" escapeXml="false" />" ><c:out value="${ review.name }" escapeXml="false" /></a>
							</span>
						</c:when>
						<c:otherwise>
							<span class="name" ><c:out value="${ review.name }" escapeXml="false" /></span>
						</c:otherwise>
		   			</c:choose>
		   			<span class="say" > Say</span>:
		   			<span class="date" ><lds:date date="${review.createDate}" format="yyyy-MM-dd kk:mm:ss"  />&nbsp;${ review.seq }楼</span>
				</div>
				<div class="back_head" >&nbsp;</div>	
				<div class="review_content" >
					<p><pre><span><c:out value="${ review.content }" escapeXml="false" ></c:out></span></pre></p>
				</div>
				<div class="back_bottom" >&nbsp;</div>
			</div>
		</div>
	</c:forEach>
	<div class="clear" ></div>
	<br/><br/>
	<div class="review_page" >
		<c:forEach  var="i" begin="1" end="${adapter.maxPage}" >
			<c:choose>
				<c:when test="${ i eq adapter.curPage }">
					<span class="curPage">
						${ i }
					</span>
				</c:when>
				<c:when test="${ i ne adapter.curPage }">
					<span class="canclick">
						<a rel="nofollow" href="javascript:;" onclick="javascript:MECHOICE.Method.reviewPage('/listReview.action??page=${ i }&${ queryString }')">${ i }</a>
					</span>
				</c:when>
			</c:choose>	
		</c:forEach>
		
	</div>